#ifndef FUNCTION_H
#define FUNCTION_H

#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "libnge2.h"
#include "main.h""

#ifdef ERORR
#include "error.h"
#endif





/*
 *
 * String deals
 *
 */
void sift(char *s,int pat);
char *split(const char * str,char end);
char *splitn(const char * str,char end);
long toNumber(char * str);
char *toString(long *num,int mode);
char *strsub(const char*str, unsigned start, unsigned end);
unsigned long timeToSec(char *time);
char * secToTime(long sec);
int fileExists(char *fileName);
#endif